package com.cskaoyan.bean.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName WxCouponVo
 * @Description TODO
 * @Author ke
 * @Date 2022/8/18 9:01
 * @Version 1.0
 */
@Data
public class WxCouponVo {

    Boolean available;
    Integer cid;
    String desc;
    BigDecimal discount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date endTime;
    Integer id;
    BigDecimal min;
    String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date startTime;
    String tag;

    public WxCouponVo() {
    }

    public WxCouponVo(Boolean available, Integer cid, String desc, BigDecimal discount, Date endTime, Integer id, BigDecimal min, String name, Date startTime, String tag) {
        this.available = available;
        this.cid = cid;
        this.desc = desc;
        this.discount = discount;
        this.endTime = endTime;
        this.id = id;
        this.min = min;
        this.name = name;
        this.startTime = startTime;
        this.tag = tag;
    }
}
